/*
    Copyright (C) 2021 Huawei Device Co., Ltd.
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 */

package com.danikula.videocache.interfacers;

/**
 * @ProjectName: android-video-cache_ohos
 * @Package: com.danikula.videocache.interfacers
 * @ClassName: ReSetAfterErrorListener
 * @Description: 分片/分节点策略存在问题，重置为默认策略监听器（新策略存在问题导致无法播放，
 * 当重试几次之后不再重试，通过本回调接口通知用户做出操作）
 * @CreateDate: 2021/6/1 16:25
 * @UpdateDate: 2021/6/1 16:25
 * @UpdateRemark: 暂无
 * @Version: 1.0
 */
public interface ReSetAfterErrorListener {
    /**
     * 新策略出现错误 无法播放 需要重置策略
     */
    void reSetAfterError();
}
